package com.xin.di.uav.applet.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 定价规则范围明细表
 * </p>
 *
 * @author LTQ
 * @since 2023-11-14
 */
@TableName("pricing_rule_range")
@ApiModel(value = "PricingRuleRange对象", description = "定价规则范围明细表")
public class PricingRuleRange implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private String id;

    @ApiModelProperty("范围类型 0:区间 1:大于 ")
    private Byte rangeTypes;

    @ApiModelProperty("开始数")
    private BigDecimal startNum;

    @ApiModelProperty("结束数")
    private BigDecimal endNum;

    @ApiModelProperty("加价金额")
    private BigDecimal markupPrice;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("定价规则表外键id")
    private String pricingRuleId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Byte getRangeTypes() {
        return rangeTypes;
    }

    public void setRangeTypes(Byte rangeTypes) {
        this.rangeTypes = rangeTypes;
    }

    public BigDecimal getStartNum() {
        return startNum;
    }

    public void setStartNum(BigDecimal startNum) {
        this.startNum = startNum;
    }

    public BigDecimal getEndNum() {
        return endNum;
    }

    public void setEndNum(BigDecimal endNum) {
        this.endNum = endNum;
    }

    public BigDecimal getMarkupPrice() {
        return markupPrice;
    }

    public void setMarkupPrice(BigDecimal markupPrice) {
        this.markupPrice = markupPrice;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getPricingRuleId() {
        return pricingRuleId;
    }

    public void setPricingRuleId(String pricingRuleId) {
        this.pricingRuleId = pricingRuleId;
    }
}
